home *** CD-ROM | disk | FTP | other *** search
/ HaCKeRz Kr0nlcKLeZ 1 / HaCKeRz Kr0nlcKLeZ.iso / scriptz / mrv1.exe / MR.ZIP / MR / SCRIPT~1 / SCRIPT~2.TXT < prev    next >
Encoding:
Text File  |  1996-02-13  |  5.6 KB  |  177 lines

  1. IMPORTANT SCRIPTING IDENTIFIERS
  2. -------------------------------
  3. $abs(N) Returns absolute value of specified number.
  4.  
  5. $active Returns current window that is on top
  6.  
  7. $adate Returns the date in dd/mm/yy format.
  8.  
  9. $address Returns userid@host.domain of specified user.
  10.  
  11. $addtok(text,token,C)
  12.     Adds the token to the end of text if itz not already in the text.
  13.  
  14. $asc(Char) Returns the ascii number of the character.
  15.  
  16. $asctime(N) Converts numbers from $ctime to date format.
  17.  
  18. $away Returns $true or $false, depending on which...
  19.  
  20. $banmask Returns address that was banned.
  21.  
  22. $cb Returns the first 256 characters in the clipboard.
  23.  
  24. $chr(N) Returns ascii character of the number specified.
  25.  
  26. $chan Returns channel where the triggered event happened.
  27.  
  28. $chan(N)
  29.      Returns the name of the Nth Channel you're in. If N is 0 returns the number of channels you're in.
  30.  
  31. $chat(N) Returns the nick of the user in the Nth dcc chat window.
  32.  
  33. $clevel Returns the level that triggered the event.
  34.  
  35. $count(string,substring) Returns number of times substring occurs in string.
  36.  
  37. $cr Returns a carriage return - same as $chr(13)
  38.  
  39. $ctime Returns the amount of time elapsed since 00:00:00 GMT, January 1, 1970.
  40.  
  41. $date Returns the date in mm/dd/yy format.
  42.  
  43. $day Returns the name of the current day.
  44.  
  45. $dde Refer to DDE Scripting Section for info on this one.
  46.  
  47. $dir[="Choose File:"] {path}
  48.      Opens a window showing all files in the specified dir. After file is selected, Returns selected filename.
  49.  
  50. $dlevel Returns the default user level.
  51.  
  52. $duration(N) Converts N into a time.
  53.  
  54. $exists Tests to see whether a file exists and returns $true or $false.
  55.  
  56. $findtok(text,token,C) Returns the position of the token in the text.
  57.  
  58. $file[="Choose File:"] {path} smaller window. Returns selected filename.
  59.  
  60. $filename Returns the name of file sent or being received.
  61.  
  62. $fulldate Returns the fulldate in Wed Oct 23 11:06:45 1996 format.
  63.  
  64. $get(N) Returns the nick and file of the Nth dcc get. if N is 0 Returns the number of dcc gets.
  65.  
  66. $getdir Returns the dcc get directory in dcc options.
  67.  
  68. $gettok(text,N,C) Returns Nth charaters of text using C as a token seperator.
  69.  
  70. $host Returns your host name.
  71.  
  72. $instok(text,token,N,C) Inserts token to text where specific Character occurs.
  73.  
  74. $ip Returns your ip number.
  75.  
  76. $left(N,text) Returns the N left characters of text.
  77.  
  78. $len(text) Returns the length of text.
  79.  
  80. $level(address) Returns the level of the address in the Remote, Users list.
  81.  
  82. $lf Returns the line feed character, same as $chr(10)
  83.  
  84. $lines(file) Returns the total numbers of lines in a file.
  85.  
  86. $lof(file) Returns the size of a file in bytes.
  87.  
  88. $logdir Returns the directory where log files are stored.
  89.  
  90. $longip(ip) Returns the Long IP of specified ip.
  91.  
  92. $lower(text) Returns the text in lowercase.
  93.  
  94. $mask(Address,type) Returns the address mask depending on the specified type.
  95.  
  96. $me Returns your current nick.
  97.  
  98. $mid(S,N,text) Returns the Nth left characters of text startin at position S.
  99.  
  100. $mircdir Returns the current dir of mIRC.
  101.  
  102. $mode(chan) Returns mode of specified channel, u must be on that channel.
  103.  
  104. $nick - C,E Returns the nick of user who triggered that event or command.
  105.  
  106. $nick(N,chan) Returns the nick of Nth user on specified channel.
  107.  
  108. $nopath(file) Returns the filename, without a path.
  109.  
  110. $nopnick(N,chan) Returns nick of the Nth non-op'd user on specified channel.
  111.  
  112. $notify(N) Returns the Nth nick in your notify list currently on IRC.
  113.  
  114. $opnick
  115.      Use with ON OP and ON DEOP. Returns the nick of user who was deop'd or op'd.
  116.  
  117. $opnick(N,chan) Returns the nick of Nth op'd nick on specified channel.
  118.  
  119. $parms Returns all the words for a specified occurance.
  120.  
  121. $parmN Returns the Nth word in a specified occurance.
  122.  
  123. $port Returns the port that you are currently connected to.
  124.  
  125. $pos(string,substring) Returns number indicating position of substring in string.
  126.  
  127. $query(N)
  128.     Returns Nick of user in Nth query window. If N is 0 returns total number of open query windows.
  129.  
  130. $r(val1,val2)
  131.     Returns random integer where val1 and val2 can be lowercase letters, uppercase letters, or numbers.
  132.  
  133. $rand(val1,val2) Same as $r
  134.  
  135. $read {file} Returns a random line from a text file.
  136.  
  137. $read [-nl# -stext] {filename}
  138.     -l# returns the spcified line number.
  139.        -stext will search text file for line beginning with specified text.
  140.         -n will treat the line as normal text.
  141.  
  142. $readini {file} {section} {item} Returns textfound in file section under item.
  143.  
  144. $remove(string,substring) Removes any occurence of substring in string 
  145.  
  146. $remtok(text,token,C) Removes the fist occurance of the token from the text.
  147.  
  148. $replace(string,substring,newstring)
  149.      Finds substring in string and replaces it with the newstring.
  150.  
  151. $reptok(text,token,newtoken,C) Replaces the token in text with the new token.
  152.  
  153. $send(N) Returns nick/filename of Nth dcc send, N returns number of dcc sends.
  154.  
  155. $server Returns the name of server you are currently connected to.
  156.  
  157. $snicks Returns a string of the currently highlighted nicks.
  158.  
  159. $snick(N,chan) Returns the nick of the Nth highlighted nick on channel.
  160.  
  161. $snotify Returns the nick of currently selected nick in notify list.
  162.  
  163. $str(N,text) Returns a string of text N number of times.
  164.  
  165. $time Returns curent time in hh:mm:ss format.
  166.  
  167. $timestamp Returns the time in [hh:mm] format.
  168.  
  169. $token(N,C,text) Returns Nth charaters of text using C Charater as seperator.
  170.  
  171. $topic(chan) Returns topic channel, you must be on specified channel.
  172.  
  173. $upper(text) Returns text in uppercase.
  174.  
  175. $url Returns currently active url in your web browser.
  176.  
  177. $wavdir Returns directory of wavs.